# curl -sfL https://get.rke2.io | INSTALL_RKE2_TYPE="agent" sh -
  curl -sfL http://rancher-mirror.rancher.cn/rke2/install.sh | INSTALL_RKE2_MIRROR=cn INSTALL_RKE2_TYPE="agent"  sh -
  systemctl enable rke2-agent.service
  touch /etc/rancher/rke2/config.yaml
  echo "server: https://192.168.0.120:9345" >> /etc/rancher/rke2/config.yaml
  echo 'token: K10ffe30027f7a1f15cddcb584a26870924499090f6b7787ad3cb3740523779cbcd::server:ca5f5ab4af40c586e4d4a199afab3fc5' >> /etc/rancher/rke2/config.yaml

# systemctl restart rke2-agent.service
# systemctl status rke2-agent.service